import React from 'react';
import ReactDOM from 'react-dom';

class Myportals extends React.Component {
  constructor(props) {
    super(props);
  }

  componentDidMount() {
    this.el = document.getElementById('#__next')
  }
  render() {

    return ReactDOM.createPortal(
      <h1>This is my Portals</h1>, this.el);
    // return(     <div></div> )
  }
}

export default Myportals;